<?php

// Namespace

namespace Loop;


/**
 * @package		Loop
 * @category	Factory
 */

interface IFileFactory
{
	/**
	* Close File
	*
	* @param $file string The file 
	*/

	public function close(&$file);

	
	/**
	* Get the description columns
	*
	* @param $file string The file 
	*/

	public function getColumns(&$file);


	/**
	* Open File
	*
	* @param $file string The file 
	*/

	public function open(&$file, $option);


	/**
	* Read the file
	*
	* @param $file string The file 
	*/

	public function read(&$file);


	/**
	* Write the file
	*
	* @param $file string The file 
	*/

	public function write(&$file, $data);	

}

?>